package com.hzdp.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;
import java.util.Map;

/**
 * 产品
 * <p/>
 * Created by leo on 15/11/28.
 */
@Deprecated
//@TargetUrl("https://detail.tmall.com/item.htm?spm=\\.+&id=\\d+&skuId=\\d+&areaId=\\d+&cat_id=\\d+&rn=\\.+&user_id=\\d+&is_b=\\d+")
//@HelpUrl("https://list.tmall.com/search_product.htm?spm=a221z.7076649.1001.56.7ypa1F&cat=50026502&q=%B1%A3%CA%AA&sort=s&style=g&from=sn_1_cat-qp#J_crumbs")
public class Product {

    private String sourceUrl;
    private String name;
    private List<String> imgUrlList;
    private Map<String, String> descList;
    private String brandName;

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getImgUrlList() {
        return imgUrlList;
    }

    public void setImgUrlList(List<String> imgUrlList) {
        this.imgUrlList = imgUrlList;
    }

    public Map<String, String> getDescList() {
        return descList;
    }

    public void setDescList(Map<String, String> descList) {
        this.descList = descList;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this,
                ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
